package view;
import java.awt.GridBagConstraints;
import java.awt.GridBagLayout;
import java.awt.Insets;

import javax.swing.ComboBoxModel;
import javax.swing.DefaultComboBoxModel;
import javax.swing.JButton;
import javax.swing.JCheckBox;
import javax.swing.JComboBox;
import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.JTextField;
import javax.swing.border.LineBorder;

/**
* This code was edited or generated using CloudGarden's Jigloo
* SWT/Swing GUI Builder, which is free for non-commercial
* use. If Jigloo is being used commercially (ie, by a corporation,
* company or business for any purpose whatever) then you
* should purchase a license for each developer using Jigloo.
* Please visit www.cloudgarden.com for details.
* Use of Jigloo implies acceptance of these licensing terms.
* A COMMERCIAL LICENSE HAS NOT BEEN PURCHASED FOR
* THIS MACHINE, SO JIGLOO OR THIS CODE CANNOT BE USED
* LEGALLY FOR ANY CORPORATE OR COMMERCIAL PURPOSE.
*/
public class ServerViewPanelCar extends javax.swing.JPanel {
	
	private static final long serialVersionUID = 1L;

	private JComboBox jComboBoxCarModel;
	private JLabel jLabelCarModel;
	private JTextField jTextFieldImage;
	private JComboBox jComboBoxType;
	private JLabel jLabelType;
	private JTextField jTextFieldLicensePlate;
	private JLabel jLabelLicensePlate;
	private JPanel jPanel1;
	private JCheckBox jCheckBoxStolen;
	private JPanel jPanel7;
	private JLabel jLabelImage;
	private JPanel jPanel3;
	private JTextField jTextFieldCity;
	private JLabel jLabelCity;
	private JTextField jTextFieldUf;
	private JLabel jLabelUf;
	private JPanel jPanel2;
	private JComboBox jComboBoxDriver;
	private JPanel jPanel4;
	private JButton jButtonClear;
	private JButton jButtonConfirm;
	private JPanel jPanel5;
	private JLabel jLabelTitle;
	private JLabel jLabelName;
	private JPanel jPanel6;

	/**
	* Auto-generated main method to display this 
	* JPanel inside a new JFrame.
	*/
/*	public static void main(String[] args) {
		JFrame frame = new JFrame();
		frame.getContentPane().add(new ServerViewPanelCar());
		frame.setDefaultCloseOperation(WindowConstants.DISPOSE_ON_CLOSE);
		frame.pack();
		frame.setVisible(true);
	}*/
	
	public ServerViewPanelCar() {
		super();
		initGUI();
	}
	
	private void initGUI() {
		try {
			GridBagLayout thisLayout = new GridBagLayout();
			thisLayout.rowWeights = new double[] {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.1};
			thisLayout.rowHeights = new int[] {27, 6, 20, 6, 20, 6, 20, 6, 20, 6, 20, 15, 20, 6, 32, 20, 7};
			thisLayout.columnWeights = new double[] {0.0};
			thisLayout.columnWidths = new int[] {420};
			this.setPreferredSize(new java.awt.Dimension(461, 347));
			this.setLayout(thisLayout);
			{
				jLabelTitle = new JLabel();
				this.add(jLabelTitle, new GridBagConstraints(-1, 0, 1, 1, 0.0, 0.0, GridBagConstraints.CENTER, GridBagConstraints.BOTH, new Insets(0, 0, 0, 0), 0, 0));
				jLabelTitle.setText("Cadastro de Carro");
				jLabelTitle.setFont(new java.awt.Font("Dialog",1,14));
			}			
			{
				jPanel2 = new JPanel();
				GridBagLayout jPanel2Layout = new GridBagLayout();
				this.add(jPanel2, new GridBagConstraints(-1, 4, 1, 1, 0.0, 0.0, GridBagConstraints.CENTER, GridBagConstraints.BOTH, new Insets(0, 0, 0, 0), 0, 0));
				jPanel2Layout.rowWeights = new double[] {};
				jPanel2Layout.rowHeights = new int[] {};
				jPanel2Layout.columnWeights = new double[] {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.1, 0.0};
				jPanel2Layout.columnWidths = new int[] {23, 6, 45, 50, 53, 6, 7, 7};
				jPanel2.setLayout(jPanel2Layout);
				{
					jLabelUf = new JLabel();
					jPanel2.add(jLabelUf, new GridBagConstraints(0, -1, 1, 1, 0.0, 0.0, GridBagConstraints.CENTER, GridBagConstraints.BOTH, new Insets(0, 0, 0, 0), 0, 0));
					jLabelUf.setText("Uf");
				}
				{
					jTextFieldUf = new JTextField();
					jPanel2.add(jTextFieldUf, new GridBagConstraints(2, -1, 1, 1, 0.0, 0.0, GridBagConstraints.CENTER, GridBagConstraints.BOTH, new Insets(0, 0, 0, 0), 0, 0));
					jTextFieldUf.setBorder(new LineBorder(new java.awt.Color(0,0,0), 1, false));
				}
				{
					jLabelCity = new JLabel();
					jPanel2.add(jLabelCity, new GridBagConstraints(4, -1, 1, 1, 0.0, 0.0, GridBagConstraints.CENTER, GridBagConstraints.BOTH, new Insets(0, 0, 0, 0), 0, 0));
					jLabelCity.setText("Cidade");
				}
				{
					jTextFieldCity = new JTextField();
					jPanel2.add(jTextFieldCity, new GridBagConstraints(6, -1, 1, 1, 0.0, 0.0, GridBagConstraints.CENTER, GridBagConstraints.BOTH, new Insets(0, 0, 0, 0), 0, 0));
					jTextFieldCity.setBorder(new LineBorder(new java.awt.Color(0,0,0), 1, false));
				}
			}
			{
				jPanel3 = new JPanel();
				GridBagLayout jPanel3Layout = new GridBagLayout();
				this.add(jPanel3, new GridBagConstraints(-1, 6, 1, 1, 0.0, 0.0, GridBagConstraints.CENTER, GridBagConstraints.BOTH, new Insets(0, 0, 0, 0), 0, 0));
				jPanel3Layout.rowWeights = new double[] {};
				jPanel3Layout.rowHeights = new int[] {};
				jPanel3Layout.columnWeights = new double[] {0.0, 0.0, 0.1};
				jPanel3Layout.columnWidths = new int[] {58, 6, 7};
				jPanel3.setLayout(jPanel3Layout);
				{
					jLabelImage = new JLabel();
					jPanel3.add(jLabelImage, new GridBagConstraints(0, -1, 1, 1, 0.0, 0.0, GridBagConstraints.CENTER, GridBagConstraints.BOTH, new Insets(0, 0, 0, 0), 0, 0));
					jLabelImage.setText("Imagem");
				}
				{
					jTextFieldImage = new JTextField();
					jPanel3.add(jTextFieldImage, new GridBagConstraints(2, -1, 1, 1, 0.0, 0.0, GridBagConstraints.CENTER, GridBagConstraints.BOTH, new Insets(0, 0, 0, 0), 0, 0));
					jTextFieldImage.setBorder(new LineBorder(new java.awt.Color(0,0,0), 1, false));
				}
			}
			{
				jPanel4 = new JPanel();
				GridBagLayout jPanel4Layout = new GridBagLayout();
				this.add(jPanel4, new GridBagConstraints(-1, 8, 1, 1, 0.0, 0.0, GridBagConstraints.CENTER, GridBagConstraints.BOTH, new Insets(0, 0, 0, 0), 0, 0));
				jPanel4Layout.rowWeights = new double[] {};
				jPanel4Layout.rowHeights = new int[] {};
				jPanel4Layout.columnWeights = new double[] {0.0, 0.0, 0.1};
				jPanel4Layout.columnWidths = new int[] {48, 6, 7};
				jPanel4.setLayout(jPanel4Layout);
				{
					jLabelCarModel = new JLabel();
					jPanel4.add(jLabelCarModel, new GridBagConstraints(0, -1, 1, 1, 0.0, 0.0, GridBagConstraints.CENTER, GridBagConstraints.BOTH, new Insets(0, 0, 0, 0), 0, 0));
					jLabelCarModel.setText("Modelo");
				}
				{
					ComboBoxModel jComboBoxCarModelModel = 
						new DefaultComboBoxModel(
								new String[] { "Item One", "Item Two" });
					jComboBoxCarModel = new JComboBox();
					jPanel4.add(jComboBoxCarModel, new GridBagConstraints(2, -1, 1, 1, 0.0, 0.0, GridBagConstraints.CENTER, GridBagConstraints.BOTH, new Insets(0, 0, 0, 0), 0, 0));
					jComboBoxCarModel.setModel(jComboBoxCarModelModel);
				}
			}			
			{
				jPanel5 = new JPanel();
				GridBagLayout jPanel5Layout = new GridBagLayout();
				this.add(jPanel5, new GridBagConstraints(-1, 12, 1, 1, 0.0, 0.0, GridBagConstraints.CENTER, GridBagConstraints.BOTH, new Insets(0, 0, 0, 0), 0, 0));
				jPanel5Layout.rowWeights = new double[] {};
				jPanel5Layout.rowHeights = new int[] {};
				jPanel5Layout.columnWeights = new double[] {0.0, 0.0, 0.1};
				jPanel5Layout.columnWidths = new int[] {42, 6, 7};
				jPanel5.setLayout(jPanel5Layout);
				{
					jLabelName = new JLabel();
					jPanel5.add(jLabelName, new GridBagConstraints(0, -1, 1, 1, 0.0, 0.0, GridBagConstraints.CENTER, GridBagConstraints.BOTH, new Insets(0, 0, 0, 0), 0, 0));
					jLabelName.setText("Motorista");
				}
				{
					ComboBoxModel jComboBoxDriverModel = 
						new DefaultComboBoxModel(
								new String[] { "Item One", "Item Two" });
					jComboBoxDriver = new JComboBox();
					jPanel5.add(jComboBoxDriver, new GridBagConstraints(2, -1, 1, 1, 0.0, 0.0, GridBagConstraints.CENTER, GridBagConstraints.BOTH, new Insets(0, 0, 0, 0), 0, 0));
					jComboBoxDriver.setModel(jComboBoxDriverModel);
				}
			}
			{
				jPanel6 = new JPanel();
				GridBagLayout jPanel6Layout = new GridBagLayout();
				this.add(jPanel6, new GridBagConstraints(-1, 10, 1, 1, 0.0, 0.0, GridBagConstraints.CENTER, GridBagConstraints.BOTH, new Insets(0, 0, 0, 0), 0, 0));
				jPanel6Layout.rowWeights = new double[] {};
				jPanel6Layout.rowHeights = new int[] {};
				jPanel6Layout.columnWeights = new double[] {0.0, 0.0, 0.1};
				jPanel6Layout.columnWidths = new int[] {49, 6, 7};
				jPanel6.setLayout(jPanel6Layout);
				{
					jCheckBoxStolen = new JCheckBox();
					jPanel6.add(jCheckBoxStolen, new GridBagConstraints(0, -1, 1, 1, 0.0, 0.0, GridBagConstraints.CENTER, GridBagConstraints.NONE, new Insets(0, 0, 0, 0), 0, 0));
					jCheckBoxStolen.setText("Roubado");
				}
			}			
			{
				jPanel7 = new JPanel();
				this.add(jPanel7, new GridBagConstraints(-1, 15, 1, 1, 0.0, 0.0, GridBagConstraints.CENTER, GridBagConstraints.BOTH, new Insets(0, 0, 0, 0), 0, 0));
				{
					jButtonConfirm = new JButton();
					jPanel7.add(jButtonConfirm);
					jButtonConfirm.setText("Confirma");
				}
				{
					jButtonClear = new JButton();
					jPanel7.add(jButtonClear);
					jButtonClear.setText("Limpa");
				}
			}
			{
				jPanel1 = new JPanel();
				GridBagLayout jPanel8Layout = new GridBagLayout();
				this.add(jPanel1, new GridBagConstraints(-1, 2, 1, 1, 0.0, 0.0, GridBagConstraints.CENTER, GridBagConstraints.BOTH, new Insets(0, 0, 0, 0), 0, 0));
				jPanel8Layout.rowWeights = new double[] {};
				jPanel8Layout.rowHeights = new int[] {};
				jPanel8Layout.columnWeights = new double[] {0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.1};
				jPanel8Layout.columnWidths = new int[] {45, 6, 137, 44, 29, 6, 7};
				jPanel1.setLayout(jPanel8Layout);
				{
					jLabelLicensePlate = new JLabel();
					jPanel1.add(jLabelLicensePlate, new GridBagConstraints(0, -1, 1, 1, 0.0, 0.0, GridBagConstraints.CENTER, GridBagConstraints.BOTH, new Insets(0, 0, 0, 0), 0, 0));
					jLabelLicensePlate.setText("Placa");
				}
				{
					jTextFieldLicensePlate = new JTextField();
					jPanel1.add(jTextFieldLicensePlate, new GridBagConstraints(2, -1, 1, 1, 0.0, 0.0, GridBagConstraints.CENTER, GridBagConstraints.HORIZONTAL, new Insets(0, 0, 0, 0), 0, 0));
					jTextFieldLicensePlate.setBorder(new LineBorder(new java.awt.Color(0,0,0), 1, false));
				}
				{
					jLabelType = new JLabel();
					jPanel1.add(jLabelType, new GridBagConstraints(4, -1, 1, 1, 0.0, 0.0, GridBagConstraints.CENTER, GridBagConstraints.BOTH, new Insets(0, 0, 0, 0), 0, 0));
					jLabelType.setText("Tipo");
				}
				{
					ComboBoxModel jComboBoxTypeModel = 
						new DefaultComboBoxModel(
								new String[] { "Item One", "Item Two" });
					jComboBoxType = new JComboBox();
					jPanel1.add(jComboBoxType, new GridBagConstraints(6, -1, 1, 1, 0.0, 0.0, GridBagConstraints.CENTER, GridBagConstraints.BOTH, new Insets(0, 0, 0, 0), 0, 0));
					jComboBoxType.setModel(jComboBoxTypeModel);
				}
			}
		} catch (Exception e) {
			e.printStackTrace();
		}
	}

	public JComboBox getjComboBoxCarModel() {
		return jComboBoxCarModel;
	}

	public void setjComboBoxCarModel(JComboBox jComboBoxCarModel) {
		this.jComboBoxCarModel = jComboBoxCarModel;
	}

	public JTextField getjTextFieldImage() {
		return jTextFieldImage;
	}

	public JTextField getjTextFieldCity() {
		return jTextFieldCity;
	}

	public JTextField getjTextFieldUf() {
		return jTextFieldUf;
	}

	public JComboBox getjComboBoxDriver() {
		return jComboBoxDriver;
	}

	public JComboBox getjComboBoxType() {
		return jComboBoxType;
	}

	public JButton getjButtonClear() {
		return jButtonClear;
	}

	public JButton getjButtonConfirm() {
		return jButtonConfirm;
	}

	public JTextField getjTextFieldLicensePlate() {
		return jTextFieldLicensePlate;
	}

	public JCheckBox getjCheckBoxStolen() {
		return jCheckBoxStolen;
	}
}
